/*
 * EXCEPTION CLASSES:
 * These describes exception concepts. Stores a string containing description of
 * raised error.
 *
 */

#ifndef UNITRAF_EXCEPTIONS_HPP
#define UNITRAF_EXCEPTIONS_HPP

namespace unitraf {

using std::exception;

// bad_edge CLASS
//  Class representing concept of exception thrown at the trial of composing 
//  graph with invalid edge

class bad_edge : public exception {
 public:
  bad_edge(const char* error_string) : exception(error_string) {};
};


// bad_graph CLASS
//  Class representing concept of exception thrown at the trial of composing
//  scheduler based on invalid graph

class bad_graph : public exception {
 public:
  bad_graph(const char* error_string) : exception(error_string) {};
};

};  // namespace unitraf 

#endif